using System;
using System.Collections.Generic;
using System.Text;

namespace project
{
    class Magazine_Class
    {
        string _mname;
        int _price;
        string _pname;
        int _quantity;
        string _frequency;
        public Magazine_Class()
        {

        }

        public Magazine_Class(string mname, int price, string pname, int quantity, string frequency)
        {
            _mname = mname;
            _price = price;
            _pname = pname;
            _quantity = quantity;
            _frequency = frequency;
        }

        public string mname
        {
            get
            {
                return _mname;
            }
            set
            {
                _mname = value;
            }
        }

        public string pname
        {
            get
            {
                return _pname;
            }
            set
            {
                _pname = value;
            }
        }

        public string frequency
        {
            get
            {
                return _frequency;
            }
            set
            {
                _frequency = value;
            }
        }

        public int price
        {
            get
            {
                return _price;
            }

            set
            {
                _price = value;
            }
        }

        public int quantity
        {

            get
            {

                return _quantity;
            }
            set
            {
                _quantity = value;
            }
        }


    }
}
